Release 10.1A: OpenEdge Getting Started:
Progress OpenEdge Studio
Dynamic Buffer/Temp Table module
The Progress 4GL puts the records that it reads into a buffer. Once a record is in the buffer, its fields are available to your application. While you can assign a static temp table for that buffer at compile time, you could not then change it at run time. For greater flexibility, the Progress 4GL enables you to build dynamic buffers. With a dynamic buffer, you can select the table for your buffer at run time. The buffer fields enable you to select the fields to be displayed.
![]()
To launch this module, choose the Dynamic Buffer/Temp Table button on the SportsPro main window. The Dynamic Buffer dialog box appears:
![]()
This module demonstrates a non-SmartObject approach to separating the user interface and business logic portions of an application. The initializeObject procedure runs a procedure on the AppServer partition that populates the list of database tables. Choosing the Open Query button runs another procedure on the AppServer partition. That procedure populates a dynamic temp table and passes back the handle for that temp table.
Table 2–4 describes the major objects used in the Dynamic Buffer/Temp Table module.
For more information on building dynamic buffers and temp tables, see the chapters on using dynamic buffers and on using temp tables in the OpenEdge Development: Progress 4GL Handbook .
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |